class StatsModel {
  var field;
  var value;

  StatsModel({this.field, this.value});

  StatsModel.fromJson(Map<String, dynamic> json) {
    field = json['field'];
    value = json['value'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['field'] = this.field;
    data['value'] = this.value;
    return data;
  }
}